package com.usian.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.model.article.dtos.ArticleHomeDto;
import com.usian.model.article.pojos.ApArticle;
import com.usian.model.article.pojos.ApAuthor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ApArticleMapper extends BaseMapper<ApArticle> {

    //app端查询文章列表  默认查询  下拉加载最新   上拉加载更多  频道
    public List<ApArticle> findList(@Param("dto") ArticleHomeDto dto, @Param("type")int type);

}
